package com.gph.saviorframework.es.core.facet.result;

import com.gph.saviorframework.es.core.facet.AbstractFacetResult;
import com.gph.saviorframework.es.core.facet.FacetType;

import java.util.List;

@Deprecated
public class HistogramResult extends AbstractFacetResult {

	private List<IntervalUnit> terms;

	public HistogramResult(String name, List<IntervalUnit> terms) {
		super(name, FacetType.term);
		this.terms = terms;
	}

	public List<IntervalUnit> getIntervalUnit() {
		return terms;
	}
}
